import request from "@/request/request";

export default {
    // 租房列表
    Rent(userId) {
        return request({
            url: '/houseSearch/rent/list',
            method: 'get',
            params: {
                createP: userId,
                isOut: 'N',
                pageSize: 1000,
                pageNum: 1
            }
        })
    },
    // 租客信息录入
    getTenantInfo(params) {
        return request({
            url: '/houseSearch/tenant',
            method: 'Post',
            data: params
        })
    },
    // 租客信息详情
    getTenantDetail(tenantId) {
        return request({
            url: `/houseSearch/tenant/${tenantId}`
        })
    }
}

